package com.github.binarywang.demo.wx.mp.dto;

import org.apache.commons.lang.RandomStringUtils;

public class ClientIDProccessor {
    private ClientIDProccessor(){}

    private static final ClientIDProccessor instance = new ClientIDProccessor();

    /** * 返回类的对象 * @return */
    public static ClientIDProccessor getInstance(){ return instance; }

    /** * 生成ClientID * clientID：16位 数字 + 字母 * @return */
    public String makeClientID(){

        String clientID = RandomStringUtils.randomAlphanumeric(16).toLowerCase();

        return clientID;
    }
}
